package com.foreverwin.mes.lims.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import java.io.Serializable;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 
 * </p>
 *
 * @author Levy
 * @since 2020-02-28
 */
public class InspectExec extends Model<InspectExec> {

    private static final long serialVersionUID = 1L;

   @TableId(value = "HANDLE", type = IdType.INPUT)
   private String handle;
   /**
    * 站点
    */
   @TableField("SITE")
   private String site;
   /**
    * 任务编号
    */
   @TableField("TASK_ID")
   private String taskId;
   /**
    * 检验批次
    */
   @TableField("SFC")
   private String sfc;
   /**
    * 产品编号
    */
   @TableField("ITEM")
   private String item;
   /**
    * 产品描述
    */
   @TableField("ITEM_DESC")
   private String itemDesc;
   /**
    * 创建用户
    */
   @TableField("CREATED_USER")
   private String createdUser;
   /**
    * 执行时间
    */
   @TableField("CREATED_DATE_TIME")
   private Date createdDateTime;
   /**
    * 更新人
    */
   @TableField("UPDATED_USER")
   private String updatedUser;
   /**
    * 更新时间
    */
   @TableField("UPDATED_DATE_TIME")
   private Date updatedDateTime;


   public String getHandle() {
      return handle;
   }

   public void setHandle(String handle) {
      this.handle = handle;
   }

   public String getSite() {
      return site;
   }

   public void setSite(String site) {
      this.site = site;
   }

   public String getTaskId() {
      return taskId;
   }

   public void setTaskId(String taskId) {
      this.taskId = taskId;
   }

   public String getSfc() {
      return sfc;
   }

   public void setSfc(String sfc) {
      this.sfc = sfc;
   }

   public String getItem() {
      return item;
   }

   public void setItem(String item) {
      this.item = item;
   }

   public String getItemDesc() {
      return itemDesc;
   }

   public void setItemDesc(String itemDesc) {
      this.itemDesc = itemDesc;
   }

   public String getCreatedUser() {
      return createdUser;
   }

   public void setCreatedUser(String createdUser) {
      this.createdUser = createdUser;
   }

   public Date getCreatedDateTime() {
      return createdDateTime;
   }

   public void setCreatedDateTime(Date createdDateTime) {
      this.createdDateTime = createdDateTime;
   }

   public String getUpdatedUser() {
      return updatedUser;
   }

   public void setUpdatedUser(String updatedUser) {
      this.updatedUser = updatedUser;
   }

   public Date getUpdatedDateTime() {
      return updatedDateTime;
   }

   public void setUpdatedDateTime(Date updatedDateTime) {
      this.updatedDateTime = updatedDateTime;
   }

   public static final String HANDLE = "HANDLE";

   public static final String SITE = "SITE";

   public static final String TASK_ID = "TASK_ID";

   public static final String SFC = "SFC";

   public static final String ITEM = "ITEM";

   public static final String ITEM_DESC = "ITEM_DESC";

   public static final String CREATED_USER = "CREATED_USER";

   public static final String CREATED_DATE_TIME = "CREATED_DATE_TIME";

   public static final String UPDATED_USER = "UPDATED_USER";

   public static final String UPDATED_DATE_TIME = "UPDATED_DATE_TIME";

   @Override
   protected Serializable pkVal() {
      return this.handle;
   }

   @Override
   public String toString() {
      return "InspectExec{" +
         "handle = " + handle +
         ", site = " + site +
         ", taskId = " + taskId +
         ", sfc = " + sfc +
         ", item = " + item +
         ", itemDesc = " + itemDesc +
         ", createdUser = " + createdUser +
         ", createdDateTime = " + createdDateTime +
         ", updatedUser = " + updatedUser +
         ", updatedDateTime = " + updatedDateTime +
         "}";
   }
}